package com.farmpost.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.farmpost.server.pojo.Resource;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author king
 * @since 2022-05-03
 */
public interface ResourceMapper extends BaseMapper<Resource> {

    int updateResource(@Param("id") Integer id, @Param("resourceName") String resourceName, @Param("resourceLink") String resourceLink, @Param("other") String other, @Param("type") String type, @Param("dateTime") LocalDateTime dateTime);
}
